/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package cart.hibernate.staff;

/**
 *
 * @author BibooChung
 */
import cart.hibernate.authLevel.*;

public class Staff {
    private long id;
    private String password;

    private AuthLevel authLevel;

    public Staff(){
    }

    public Staff(String password){
        this.password = password;
    }

    public Staff(String password, AuthLevel authLevel){
    	this.password = password;
    	this.authLevel = authLevel;
    }

    public long getId(){
        return id;
    }
    /**
     * Getter of password
     * @return this.password
     */
    public String getPassword(){
        return password;
    }

    public AuthLevel getAuthLevel(){
    	return authLevel;
    }
    
    /**
     * Setter of id
     * @param id set id to id's value
     */
    public void setId(long id) {
        this.id = id;
    }
    /**
     * Setter of password
     * @param password set password to password's value
     */
    public void setPassword(String password){
        this.password = password;
    }

    public void setAuthLevel(AuthLevel authLevel){
        this.authLevel = authLevel;
    }

    public void setSatff(String password, AuthLevel authLevel){
        this.password = password;
        this.authLevel = authLevel;
    }
}
